package com.leyou.item.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.SkuDTO;
import com.leyou.item.entity.Sku;

import java.util.List;
import java.util.Map;

public interface SkuService extends IService<Sku> {




    List<SkuDTO> SkuByIds(List<Long> ids);

        List<SkuDTO> listSkuByID(Long id);

    List<SkuDTO> queryById(Long id);

    void deductStock(Map<Long, Integer> skuMap);

    void plusStock(Map<Long, Integer> skuMap);
}